﻿// *----------------------------------------------------------------
// Copyright (C) 2017 通通优品
// 版权所有。
// 
// 类名：OAuthClientErrorStatus.cs
// 功能描述：TongTongMall.Oauth2.0
// 
// Create User：jym 2017/02/09
// 
// Edit User：UserName,EditTime
// Describe：Describe
// ----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TongTongMall.Oauth2._0.Client
{
    public enum OAuthClientErrorStatus
    {
        /// <summary>
        /// 成功
        /// </summary>
        Success = 0,

        /// <summary>
        /// AccessToken缺省
        /// </summary>
        AccessTokenLack = 10000,

        /// <summary>
        /// accesstoken过期
        /// </summary>
        AccessTokenExpire = 10001,

        /// <summary>
        /// 用户数据缺省
        /// </summary>
        UserLack = 10002,

        /// <summary>
        /// 用户数据发生变化
        /// </summary>
        UserChange = 10003,

        /// <summary>
        /// accesstoken解密错误
        /// </summary>
        AccessTokenError = 10004
    }
}
